/* 培训 */
import ajax from '@/libs/ajax'

const API_TRAIN_LIST = (data) => ajax('/pub/train/trainPage', 'get', data)
const API_TRAIN_DETAIL = (id) => ajax('/pub/train/trainDetail', 'get', { id })
const API_TRAIN_BOOK = (data) => ajax('/v1/orderInfo/bookFineTrain', 'post', data)

export {
  API_TRAIN_LIST,
  API_TRAIN_DETAIL,
  API_TRAIN_BOOK
}
